/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Frédéric
 */
public class Luxe extends Vehicule {
    
    private double coefficientLuxe;

    public double getCoefficientLuxe() {
        return coefficientLuxe;
    }

    public void setCoefficientLuxe(double coefficientLuxe) {
        this.coefficientLuxe = coefficientLuxe;
    }

    public Luxe(int id_vehicule, String denomination, int indexKilometrique, String numeroPlaque, double coefficientLuxe) {
        super(id_vehicule, denomination, indexKilometrique, numeroPlaque);
        this.coefficientLuxe = coefficientLuxe;
    }
    
    public double calculeCoutJour() {
        return 300 * this.getCoefficientLuxe();        
    }
    
    public double calculeCoutKm() {
        return 10;
    }
    
     public String afficheToi() {
        return "(Luxe) : " + super.afficheToi() + ", " + this.getCoefficientLuxe() + ", " + this.calculeCoutJour() + ", " + this.calculeCoutKm();
    }
    
    
    
}
